def prune_transformer(model, amount=0.3):
            for name, module in model.named_modules():
                if isinstance(module, torch.nn.Linear):
                    prune.l1_unstructured(module, name='weight', amount=amount)
                    prune.remove(module, 'weight')
            return model

        # Efficient Multilingual NMT
        class LightTranslator(nn.Module):
            def __init__(self, vocab_size, d_model=512):
                super().__init__()
                self.encoder = TransformerEncoder(d_model)
                self.decoder = TransformerDecoder(d_model)

            def forward(self, src, tgt):
                memory = self.encoder(src)
                return self.decoder(tgt, memory)
Avatar of Ahmed Amine ALIANE

Ahmed Amine ALIANE

Algiers, Algeria

Research Engineer in NLP specializing in model efficiency and multilingual systems, with full-stack, Linux systems, and infrastructure expertise.

  • fingerprint About
  • menu_book Publications
  • architecture Projects
  • inventory_2 CV

#sentiment analysis

Content tagged with "sentiment analysis"

A genetic algorithm feature selection based approach for Arabic sentiment classification
2016-11-01 Ahmed Amine Aliane IEEE/ACS International Conference on Computer Systems and Applications (AICCSA)
[NLP] [Sentiment Analysis] [Genetic Algorithms] [Arabic]

Research on sentiment classification for Arabic text using genetic algorithms to optimize performance.

Arabic Sentiment Analysis with Transformers
[NLP] [Transformers] [Hugging Face] [Sentiment Analysis] [Python]

Transformer-based sentiment classification for Arabic text (MSA and dialectal), built at CERIST using BERT and AraBERT.

Multilingual Sentiment Analysis
[NLP] [Multilingual] [Sentiment Analysis] [Transformers] [Python]

Sentiment classification models generalized across multiple languages, extending Arabic-focused work to a broader multilingual setting at CERIST.

Multimodal Sentiment Analysis for Arabic
[NLP] [Multimodal] [Sentiment Analysis] [Arabic] [Deep Learning]

Sentiment analysis combining text with additional modalities (audio/visual) for Arabic content, addressing the limits of text-only approaches.

© 2026 Ahmed Amine Aliane.